
local extension = Package:new("divided")
extension.extensionName = "mod_hegemony"
extension.game_modes_whitelist = { 'nos_heg_mode', 'new_heg_mode' }
extension:loadSkillSkelsByPath("./packages/mod_hegemony/pkg/divided/skills")

Fk:loadTranslationTable{
  ["divided"] = "君临天下·群雄割据",
  ["div_heg"] = "群雄割据",
}

local chengong = General(extension, "div_heg__chengong", "qun", 3)
chengong.subkingdom = "wei"
chengong:addSkill("div_heg__yinpan")
chengong:addSkill("div_heg__yumou")
Fk:loadTranslationTable{
    ['div_heg__chengong'] = "陈宫",
    ["#div_heg__chengong"] = "鸷鸟夺凤翎",
    ["illustrator:div_heg__chengong"] = "幽色工作室",
    ["div_heg__yinpan"] = "引叛",
    [":div_heg__yinpan"] = "出牌阶段限一次，你可以选择一名其他角色，然后令场上与其势力不同的角色依次选择是否对其使用一张无距离次数限制的【杀】，"..
    "该角色以此法受到1点伤害后，于其下回合使用【杀】的次数+1，结算完成后，若其未以此法受到伤害，其回复1点体力。",
    ["@yinpan_mod"] = "引叛",
    ["#yinpan-usecard"] = "引叛：你可以对 %src 使用一张无距离限制的【杀】",
    ["div_heg__yumou"] = "与谋",
    [":div_heg__yumou"] = "锁定技，你杀死其他角色或其他角色杀死你均不执行惩奖。其他角色因执行惩奖而摸牌时，你摸一张牌。",
}

local xugong = General(extension, "div_heg__xugong", "qun", 3)
xugong.subkingdom = "wu"
xugong:addSkill("div_heg__biaozhao")
--xugong:addSkill("js__yechou")
xugong:addCompanions("ld__yanbaihu")
Fk:loadTranslationTable{
  ['div_heg__xugong'] = "许贡",
  ["#div_heg__xugong"] = "",
  ["illustrator:div_heg__xugong"] = "君桓文化",
  ["div_heg__biaozhao"] = "表召",
  [":div_heg__biaozhao"] = "出牌阶段限一次，你可以选择两名势力不同的其他角色，视为对其中一名角色使用一张【知己知彼】，然后将一张牌交给另一名角色，若如此做，你摸一张牌。",
  ["#div_heg__biaozhao-prompt"] = "表召：你可依次选择两名其他角色，对前者视为使用一张【知己知彼】，然后交给后者一张牌",
  ["#div_heg__biaozhao-choose"] = "选择一张牌交给 %src",
}

local duyu = General(extension, "div_heg__duyu", "qun", 4)
duyu:addSkill("div_heg__wuku")
--duyu:addSkill("miewu")
Fk:loadTranslationTable{
  ["div_heg__duyu"] = "杜预",
  ["#div_heg__duyu"] = "文成武德",
  ["illustrator:div_heg__duyu"] = "鬼画府",
  ["div_heg__wuku"] = "武库",
  [":div_heg__wuku"] = "锁定技，当与你势力不同的角色使用装备牌时，你获得1枚“武库”标记（“武库”数量至多为2）。",

  ["$div_heg__wuku1"] = "损益万枢，竭世运机。",
  ["$div_heg__wuku2"] = "胸藏万卷，充盈如库。",
  ["$div_heg__miewu1"] = "倾荡之势已成，石城尽在眼下",
  ["$div_heg__miewu2"] = "吾军势如破竹，江东六郡唾手可得。",
  ["~div_heg__duyu"] = "洛水圆石，遂道向南，吾将以俭自完耳……",
}

return extension